$(document).ready( function(){	
	// buttons for next and previous item						 
	var buttons = { 
				previous:$('#pe_cmslider .pe-button-previous') ,
				next:$('#pe_cmslider .pe-button-next') };			
				$('#pe_cmslider').peJSlidernews( { interval : 4000,
					direction		: 'opacitys',	
					easing			: 'easeInOutExpo',
					duration		: 1200,
					auto		 	: true,
					maxItemDisplay  : 4,
					navPosition     : 'horizontal', // horizontal
					navigatorHeight : 32,
					navigatorWidth  : 80,
					mainWidth		: 980,
					buttons			: buttons } );	
});